package com.example.comment_oa.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName mouth_at
 */
@TableName(value ="mouth_at")
@Data
public class MouthAt implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer mouthat;

    /**
     * 
     */
    private String userMat;

    /**
     * 
     */
    private Integer userDeptId;

    /**
     * 
     */
    private String userDept;

    /**
     * 
     */
    private Integer postId;

    /**
     * 
     */
    private String postName;

    /**
     * 
     */
    private String mouth;

    /**
     * 
     */
    private Integer ycq;

    /**
     * 
     */
    private Integer sjcq;

    /**
     * 
     */
    private Integer kg;

    /**
     * 
     */
    private Integer qk;

    /**
     * 
     */
    private Integer late;

    /**
     * 
     */
    private Integer biglate;

    /**
     * 
     */
    private Integer early;

    /**
     * 
     */
    private Integer bigearly;

    /**
     * 
     */
    private Integer ovj;

    /**
     * 
     */
    private Integer ov;

    /**
     * 
     */
    private Integer holi;

    /**
     * 
     */
    private Integer busi;

    /**
     * 
     */
    private Integer rc;

    /**
     * 
     */
    private Integer userState;

    /**
     *
     */
    private Integer salaryIsClear;

    private String userName;

    private Integer holiMoney;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        MouthAt other = (MouthAt) that;
        return (this.getMouthat() == null ? other.getMouthat() == null : this.getMouthat().equals(other.getMouthat()))
            && (this.getUserMat() == null ? other.getUserMat() == null : this.getUserMat().equals(other.getUserMat()))
            && (this.getUserDeptId() == null ? other.getUserDeptId() == null : this.getUserDeptId().equals(other.getUserDeptId()))
            && (this.getUserDept() == null ? other.getUserDept() == null : this.getUserDept().equals(other.getUserDept()))
            && (this.getPostId() == null ? other.getPostId() == null : this.getPostId().equals(other.getPostId()))
            && (this.getPostName() == null ? other.getPostName() == null : this.getPostName().equals(other.getPostName()))
            && (this.getMouth() == null ? other.getMouth() == null : this.getMouth().equals(other.getMouth()))
            && (this.getYcq() == null ? other.getYcq() == null : this.getYcq().equals(other.getYcq()))
            && (this.getSjcq() == null ? other.getSjcq() == null : this.getSjcq().equals(other.getSjcq()))
            && (this.getKg() == null ? other.getKg() == null : this.getKg().equals(other.getKg()))
            && (this.getQk() == null ? other.getQk() == null : this.getQk().equals(other.getQk()))
            && (this.getLate() == null ? other.getLate() == null : this.getLate().equals(other.getLate()))
            && (this.getBiglate() == null ? other.getBiglate() == null : this.getBiglate().equals(other.getBiglate()))
            && (this.getEarly() == null ? other.getEarly() == null : this.getEarly().equals(other.getEarly()))
            && (this.getBigearly() == null ? other.getBigearly() == null : this.getBigearly().equals(other.getBigearly()))
            && (this.getOvj() == null ? other.getOvj() == null : this.getOvj().equals(other.getOvj()))
            && (this.getOv() == null ? other.getOv() == null : this.getOv().equals(other.getOv()))
            && (this.getHoli() == null ? other.getHoli() == null : this.getHoli().equals(other.getHoli()))
            && (this.getBusi() == null ? other.getBusi() == null : this.getBusi().equals(other.getBusi()))
            && (this.getRc() == null ? other.getRc() == null : this.getRc().equals(other.getRc()))
            && (this.getUserState() == null ? other.getUserState() == null : this.getUserState().equals(other.getUserState()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getMouthat() == null) ? 0 : getMouthat().hashCode());
        result = prime * result + ((getUserMat() == null) ? 0 : getUserMat().hashCode());
        result = prime * result + ((getUserDeptId() == null) ? 0 : getUserDeptId().hashCode());
        result = prime * result + ((getUserDept() == null) ? 0 : getUserDept().hashCode());
        result = prime * result + ((getPostId() == null) ? 0 : getPostId().hashCode());
        result = prime * result + ((getPostName() == null) ? 0 : getPostName().hashCode());
        result = prime * result + ((getMouth() == null) ? 0 : getMouth().hashCode());
        result = prime * result + ((getYcq() == null) ? 0 : getYcq().hashCode());
        result = prime * result + ((getSjcq() == null) ? 0 : getSjcq().hashCode());
        result = prime * result + ((getKg() == null) ? 0 : getKg().hashCode());
        result = prime * result + ((getQk() == null) ? 0 : getQk().hashCode());
        result = prime * result + ((getLate() == null) ? 0 : getLate().hashCode());
        result = prime * result + ((getBiglate() == null) ? 0 : getBiglate().hashCode());
        result = prime * result + ((getEarly() == null) ? 0 : getEarly().hashCode());
        result = prime * result + ((getBigearly() == null) ? 0 : getBigearly().hashCode());
        result = prime * result + ((getOvj() == null) ? 0 : getOvj().hashCode());
        result = prime * result + ((getOv() == null) ? 0 : getOv().hashCode());
        result = prime * result + ((getHoli() == null) ? 0 : getHoli().hashCode());
        result = prime * result + ((getBusi() == null) ? 0 : getBusi().hashCode());
        result = prime * result + ((getRc() == null) ? 0 : getRc().hashCode());
        result = prime * result + ((getUserState() == null) ? 0 : getUserState().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", mouthat=").append(mouthat);
        sb.append(", userMat=").append(userMat);
        sb.append(", userDeptId=").append(userDeptId);
        sb.append(", userDept=").append(userDept);
        sb.append(", postId=").append(postId);
        sb.append(", postName=").append(postName);
        sb.append(", mouth=").append(mouth);
        sb.append(", ycq=").append(ycq);
        sb.append(", sjcq=").append(sjcq);
        sb.append(", kg=").append(kg);
        sb.append(", qk=").append(qk);
        sb.append(", late=").append(late);
        sb.append(", biglate=").append(biglate);
        sb.append(", early=").append(early);
        sb.append(", bigearly=").append(bigearly);
        sb.append(", ovj=").append(ovj);
        sb.append(", ov=").append(ov);
        sb.append(", holi=").append(holi);
        sb.append(", busi=").append(busi);
        sb.append(", rc=").append(rc);
        sb.append(", userState=").append(userState);
        sb.append(", salaryIsClear=").append(salaryIsClear);
        sb.append(", userName=").append(userName);
        sb.append(", holiMoney=").append(holiMoney);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}